Penguin | 2014-01-07 01:52
The Derpy Editing Thing
33
points ]
 (4 votes)
This content is compatible with older edition(s) of the game it was made for, and is not guaranteed to work with the current or development versions.
a weird script that creates an entity that follows you

!IMPORTANT!
this script only works in coop edit
----------

start the script by typing /startfollow and end it with /endfollow.
change the type of entity by typing /spawntype = "" defaults to particles
change the place the entity drops by typing /thedrop = defaults to 0
change each setting of the object by typing /s1 = , and /s2,/s3,/s4 respectivly

make sure to install the script corectly by creating an autoexe.cfg and typing in it exec fun.cfg. (make sure to have fun.cfg in the sauerbraten directory.)

activespawn = 0
spawntype = "particles"
thedrop = 0
s1 = 0;
s2 = 0;
s3 = 0;
s4 = 0;
randval = 1234;

startfollow = [if (! $activespawn 2 ) [activespawn = 1]; confollow; ]

confollow = [
if ( = $activespawn 1 ) [
if ( = $editing 0 ) [edittoggle]
entdrop $thedrop;
activespawn = 2;
edittoggle
randval = ( + 1 ( rnd 10000 ) )
];
sleep 100 [
if ( = $activespawn 2 ) [
if ( = $editing 0 ) [edittoggle]
entdrop $thedrop;
entfind * * * * * $randval;
delent;
newent $spawntype $s1 $s2 $s3 $s4;
entproperty 4 $randval;
edittoggle;
confollow;]]]

endfollow = [edittoggle; activespawn = 0; entdrop 2; entfind * * * * * $randval; delent; edittoggle];
fun.cfg (668 bytes)
33
points
 (4 votes)
User login
Users on Quadropolis
2 guests & no users online
7YearBitch
10
points ]
 (1 vote)
Created 2020-06-02 09:43
1 day 3 hours ago
10
points ]
 (1 vote)
Created 2020-06-01 20:40
1 day 16 hours ago
18
points ]
 (2 votes)
Created 2020-05-31 16:27
2 days 20 hours ago
LURKing
33
points ]
 (4 votes)
Created 2020-05-09 17:56
3 weeks 3 days ago
20
points ]
 (2 votes)
Created 2020-05-16 23:15
2 weeks 3 days ago
Created 2020-05-14 12:56
2 weeks 5 days ago
224
points ]
 (23 votes)
Created 2012-10-20 09:56
7 years 32 weeks ago
Gangler
10
points ]
 (1 vote)
Created 2020-05-12 22:59
3 weeks 13 hours ago
afroninja
46
points ]
 (5 votes)
Created 2020-01-15 07:47
20 weeks 5 hours ago
20
points ]
 (2 votes)
Created 2020-04-29 18:35
4 weeks 6 days ago
140
points ]
 (15 votes)
Created 2013-06-09 21:05
6 years 51 weeks ago
20
points ]
 (2 votes)
Created 2020-05-02 19:58
4 weeks 3 days ago
20
points ]
 (2 votes)
Created 2016-07-28 12:06
3 years 44 weeks ago
7YearBitch
20
points ]
 (2 votes)
Created 2020-03-16 20:09
11 weeks 1 day ago
70
points ]
 (7 votes)
Created 2020-01-24 22:26
18 weeks 4 days ago
40
points ]
 (4 votes)
Created 2020-01-23 12:57
18 weeks 5 days ago
30
points ]
 (4 votes)
Created 2020-01-26 14:10
18 weeks 2 days ago
170
points ]
 (17 votes)
Created 2011-09-05 14:13
8 years 39 weeks ago
Sauce
71
points ]
 (8 votes)
Created 2018-08-22 19:15
1 year 40 weeks ago
Lord Kv
160
points ]
 (16 votes)
Created 2015-03-12 14:45
5 years 12 weeks ago
Who's new
  • Spr1te
  • Akari
  • LURKing
  • Antknee55
  • gmiz