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
Fatality
29
points ]
 (3 votes)
Created 2019-08-13 23:33
3 weeks 4 days ago
Fatality
29
points ]
 (3 votes)
Created 2019-08-13 23:36
3 weeks 4 days ago
RaZgRiZ
40
points ]
 (4 votes)
Created 2019-08-05 17:12
4 weeks 5 days ago
27
points ]
 (3 votes)
Created 2018-02-13 11:00
1 year 29 weeks ago
87
points ]
 (9 votes)
Created 2011-09-04 02:41
8 years 6 days ago
20
points ]
 (2 votes)
Created 2019-06-25 17:55
10 weeks 4 days ago
30
points ]
 (3 votes)
Created 2019-05-17 21:51
16 weeks 1 day ago
Kretrens
44
points ]
 (5 votes)
Created 2019-05-08 05:38
17 weeks 4 days ago
Sauce
45
points ]
 (5 votes)
Created 2018-08-22 19:15
1 year 2 weeks ago
65
points ]
 (8 votes)
Created 2018-07-12 17:59
1 year 8 weeks ago
7YearBitch
47
points ]
 (6 votes)
Created 2019-03-07 23:20
26 weeks 2 days ago
Ao1 Pointblank
57
points ]
 (6 votes)
Created 2019-04-28 17:57
18 weeks 6 days ago
17
points ]
 (2 votes)
Created 2018-12-04 15:42
39 weeks 4 days ago
Created 2019-04-24 04:01
19 weeks 4 days ago
80
points ]
 (8 votes)
Created 2010-07-14 21:46
9 years 8 weeks ago
Fatality
60
points ]
 (7 votes)
Created 2019-04-01 02:30
22 weeks 6 days ago
Ao1 Pointblank
Created 2019-03-04 15:01
26 weeks 6 days ago
84
points ]
 (9 votes)
Created 2010-07-21 06:51
9 years 7 weeks ago
Ao1 Pointblank
81
points ]
 (9 votes)
Created 2018-03-22 02:14
1 year 24 weeks ago
Ao1 Pointblank
25
points ]
 (3 votes)
Created 2019-02-20 05:31
28 weeks 4 days ago
Who's new
  • gmiz
  • impala97
  • Fixxxer
  • Gangler
  • DON