|
0 registered members (),
1,227
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: A6.22 and A6.31
[Re: Seriff]
#60510
12/14/05 00:26
12/14/05 00:26
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Quote:
action roller { PLAYER=me; player.enable_scan = on;// this makes sure the player can be scanned by [Walking script...] }
function jumpspringfunc() {player.enable_scan = on;
if ((EVENT_TYPE == EVENT_ENTITY)&&(YOU == PLAYER)) { result = vec_dist(my.x,player.x);
if(result <= 1) { phent_addcentralforce(PLAYER,vector(my.skill1*COS(my.pan),my.skill1*SIN(my.pan),my.skill1*TAN(my.tilt)))*time; } } }
action mola { my.event = jumpspringfunc(); temp.x = 120; temp.y = 120; temp.z = 300; scan_entity(my.x,temp); }
Ok, now its like this, but the same problem exists :S
Your mistake is in the function call at the top of your action (marked in red-orange). You need the () in there.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
|
|
|